Skip to content

Conversation

@srh
Copy link

@srh srh commented Oct 24, 2024

This is a bugfix in input_sorted_by_group_key. Currently, when considering whether to replace hash aggregation with inplace aggregation, it is the case that if there are single value columns in the sort key that aren't part of the prefix of the sort key that the group key matches, we will fail to use Inplace aggregation.

This also implements a basic output_hints() implementation for SortExec, but (while generally useful) that is for the sake of the test that was written.

@srh srh force-pushed the fix-input_sorted_by_group_key branch from 1d39e45 to a970b91 Compare October 24, 2024 00:40
@srh srh merged commit b3acc9f into cube Oct 25, 2024
13 of 15 checks passed
@srh srh deleted the fix-input_sorted_by_group_key branch October 25, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants